package com.itmayiedu.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description: feign客户端调用接口类
 * @author: liucancan
 * @create: 2018-11-11 15:03
 **/
// 指定服务名称
@FeignClient(name = "app-itmayiedu-member")
public interface MemberApiFeign {

    // 指定接口入口
    @RequestMapping("/getMember")
    String getMember();
}
